package com.hzm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzm.dao.MemberDao;
import com.hzm.entity.Member;
import com.hzm.service.MemberService;
import com.hzm.utils.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @program: qy137-java
 * @description:
 * @author: 皇子明
 * @create: 2021-10-24 20:34
 **/
@Service
public class MemberServiceImpl extends ServiceImpl<MemberDao ,Member>implements MemberService {
    @Resource
    private MemberDao memberDao;
    @Override
    public Result queryAllMemberById(String memberId) {
        Member member= memberDao.queryAllMemberById(memberId);
        return new Result(2000,"成功",member);
    }
}
